from .code import code_bp
from .file import file_bp
from .transfer import transfer_bp


def register_index_views(app):
    # @app.route("/", defaults={"path": ""})
    # @app.route("/<path:path>")
    # def index_spa(path):
    #     return app.send_static_file("index.html")

    app.register_blueprint(code_bp)
    app.register_blueprint(file_bp)
    app.register_blueprint(transfer_bp)
